/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package graphic;

import javafx.geometry.Point2D;
import javafx.scene.layout.Region;

/**
 *
 * @author David
 */
public class DiagramComponent extends Region{
  
  public DiagramComponent(){
    
  }
  
  public DiagramComponent(Point2D location){
    setTranslateX(location.getX());
    setTranslateY(location.getY());
  }
}
